import { BaseSkill } from '../../skills/BaseSkill';
import { DamageType, SkillType } from '../../types';

export const CommonSkills = {
  unbreakable: new class extends BaseSkill {
    constructor() {
      super('unbreakable', '固若金汤', SkillType.Active, DamageType.None, 0.6, 3, 2);
    }

    async execute(source: any, battle: any) {
      return {
        actor: source,
        target: source,
        type: 'skill',
        skillId: this.id,
        damage: 0,
        effects: [{
          type: 'damage_reduction',
          value: 0.35,
          duration: this.duration
        }]
      };
    }
  }
};

// Create other skills similarly...
export { ZhaoYunSkills } from './zhaoYun';
export { SimaYiSkills } from './simaYi';
export { ZhuGeLiangSkills } from './zhuGeLiang';
